home *** CD-ROM | disk | FTP | other *** search
- Date: Fri, 29 Jul 1994 10:37:31 -0700
- From: ersmith@netcom.com (Eric R. Smith)
- Message-Id: <199407291737.KAA21532@netcom4.netcom.com>
- To: entropy@terminator.rs.itd.umich.edu, mint@terminator.rs.itd.umich.edu
- Subject: Re: Pvfork()
-
- Pvfork() behaves exactly as it should (and exactly as vfork() does under
- BSD Unix). If the parent and child were both running in the same
- address space at the same time, they could easily trample on each other;
- in particular, their stacks are very susceptible to damage (imagine the
- potential for havoc if the child calls exec() at the same time the parent
- calls another function; since both processes are using the same stack,
- the local variables in exec() and in the parent's foo() function would
- occupy the same space in memory!
-
- Eric
-